import json
import collections
import os, re, csv

#f = open('E:\\w\\index.verb', 'r')
#fword = open("e:\\w\\verb_list(wordnet3.1).csv", 'w' ,encoding='utf8')
#for line in f.readlines()[29:]:
#    ll = re.split("[ \t]", line)
#    if re.search("^[a-z]+$", ll[0]):
#        fword.write(ll[0]+"\n");
#
#f.close()
#fword.close()
#
f = open('E:\\w\\2.csv', 'r')
fword = open("e:\\w\\noun_list.csv", 'w' ,encoding='utf8')
for line in f.readlines():
    line = line.strip()
    if re.search("^[a-z]+$", line):
        fword.write(line+"\n");

f.close()
fword.close()
